package ltd.smallwang.client.task.dto;

import jakarta.validation.constraints.Size;
import lombok.Getter;
import lombok.Setter;

/**
 * @author justd
 * @description 功能描述
 * @since 2024-06-05 23:52
 **/
@Getter
@Setter
public class TaskCategoryUpdateCmd {
  private Long id;

  @Size(min = 1, max = 32, message = "name length must be between 1 and 32")
  private String name;

  /**
   * 譬如：0xFFABCF54
   */
  @Size(max = 16, message = "color length must be between 0 and 32")
  private String color;
}
